package com.dataextend.service;

import com.dataextend.entity.RolePermissionEntity;

import java.util.List;

public interface RolePermissionService {
    int add(RolePermissionEntity rolePermissionEntity);
    int update(RolePermissionEntity rolePermissionEntity);
    void delete(Long id);
    RolePermissionEntity queryById(Long id);
    List<RolePermissionEntity> list(RolePermissionEntity rolePermissionEntity);


    void deleteRoleId(Long roleId);
    void addRoleIdPermission(Long roleId, Long permissionId);

}
